<script type="text/javascript">
window.parent.IDE.upload_response(<%={:response => @response_action,:directory => @path, :files => @files_array}.to_json%>)
</script>
